import instance from '@/utils/request'

// 封装登录接口
export function userLogin(data) {
  return instance({
    url: '/api/sys/login',
    method: 'post',
    data
  })
}

// 封装用户资料接口
export function getUserInfo() {
  return instance({
    url: '/api/sys/profile',
    method: 'post',
  })
}

export function getInfo(token) {
}

export function logout() {
}
